package com.company;

public class Monster {
    String name;
    int hp;
    int ht;
    int def;
    public int hurt(int def){
        return ht-def;
    }
    public void show(){
        System.out.println(name+"   伤害:"+ht+"   防御:"+def+"   生命值:"+hp);
    }
}
